<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>UV Process</title>
</head>
<body>
	<center>
	<br/>
	<br/>
	<br/>
	<h1><i><h:outputText value="#{userbean.username}"/>s</i> user screen</h1>
	<h2>Messages:</h2> 
	<h:dataTable
		 value="#{userbean.messages}" var="message">
	   <h:column>
	     <h:outputText value="#{message.title}"/>
	  </h:column>
	</h:dataTable>
<br/><br/>
	<h2>Actions:</h2>
	<h:form>
     <h:commandLink action="#{uvbean.addUV}" rendered="#{userbean.addUV}" value="Add UV"/>
	</center>
    </h:form>
</body>
</html>
</f:view>
